package com.znsd.zl.app.housecollect.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.github.pagehelper.PageInfo;
import com.znsd.zl.app.housecollect.dao.IHouseCollectDao;
import com.znsd.zl.app.housecollect.entity.HouseCollectEntity;
import com.znsd.zl.app.housecollect.vo.HouseCollectPageReqVO;

import java.util.List;

/**
 * @ClassName IHouseCollectService
 * @Description 用户收藏房屋业务层接口
 * @Author jaypdd
 * @Date 2020/8/22 20:46
 * @Version v1.0
 */
public interface IHouseCollectService extends IService<HouseCollectEntity> {

	/**
	 * 根据用户id分页查询当前用户收藏的所有房屋信息
	 * @param reqVO 请求的分页参数以及用户id VO对象
	 * @return      返回当前请求页对应的收藏房屋信息
	 */
	IPage<HouseCollectEntity> queryPage(HouseCollectPageReqVO reqVO);
}
